/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const Iconnan: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'rem'} height={size + 'rem'} style={style} {...rest}>
      <path
        d="M665.2 96.8c-25.6 0-46.4 20.8-46.4 46.4s20.8 46.4 46.4 46.4l117.2 0L566.2 409.2c-50.3-35.9-112-57.3-179.1-57.3-168.2 0-304.5 133.4-304.5 298s136.3 298 304.5 298c168.2 0 304.5-133.4 304.5-298 0-65.8-22.1-126.5-59.1-175.8l215.9-219.3 0 119c0 25.6 20.8 46.4 46.4 46.4s46.4-20.8 46.4-46.4L941.2 96.8 665.2 96.8zM387.2 855c-116.7 0-211.7-92-211.7-205.2 0-113.1 95-205.2 211.7-205.2s211.7 92 211.7 205.2C598.9 762.9 503.9 855 387.2 855z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

Iconnan.defaultProps = {
  size: 18,
};

export default Iconnan;
